<?php
/*************************************************************
*
*	@file:	include/class/announcement.class.php
*
*	@class:	announcement
*
*	@brief:	class that provide a whole support 
*				for announcement.
*
*	@author: Skype
*************************************************************/

class announcement
{
	/**
	*	@brief:	the error message
	*
	*	@access: public
	*
	*	@type: string
	*/
	public $error = '';
	
	/**
	*	@brief:	set the error message
	*
	*	@access: protected
	*
	*	@params: $error, string contain the message of error.
	*
	*	@return: none
	*/
	protected function setErrorMessage($error)
	{
		$this->error = $error;
	}

	/**
	 * 	@class constructor
	 */
	function __construct()
	{
	}
	
	/**
	*	@brief:	add an announcement
	*
	*	@access: public
	*
	*	@params: $announcementInfo
	*
	*	@return: announcement ID
	*/
	public function addAnnouncement($announcementInfo)
	{
	}
	
	/**
	*	@brief:	del an announcement
	*
	*	@access: public
	*
	*	@params: $announcementID
	*
	*	@return: announcement ID
	*/
	public function delAnnouncement($announcementID)
	{
	}
	
	/**
	*	@brief:	update an announcement
	*
	*	@access: public
	*
	*	@params: $announcementID, $announcementInfo
	*
	*	@return: announcement ID
	*/
	public function updateAnnouncement($announcementID, $announcementInfo)
	{
	}
}